const http = uni.$u.http



// 新增打印任务
export const ApibasicPrintTaskListPost = (data) => http.post('/basic/printtasklist/', data)


// 查询打印机
export const ApibasicPrintFacilityListGet = (params) => http.get('/basic/printfacilitylist/',  {params:params})


// 查询人事资料
export const basicMfygListApiGet = (params) => http.get('/baogong/salmlist/',  {params:params})


// 查询员工资料
export const basicSalmListApiGet = (params) => http.get('/basic/salmlist/',  {params:params})

// 查询工序资料
export const basicZcnoListApiGet = (params) => http.get('/basic/zcnolist/',  {params:params})

// 查询报工组
export const basicBaoGongGroupApiGet = (params) => http.get('/baogong/group/',  {params:params})

// 扫码查询通知单号
export const basicScanListApiPost = (data) => http.post('/baogong/scanlist/',  data)


// 生产日报表列表查询
export const basicBgListApiGet = (params) => http.get('/baogong/list/',  {params:params})

// 批次报新增生产日报表
export const basicBgListApiPost = (data) => http.post('/baogong/list/',  data)

// 生产日报表单个查询
export const basicBgListPkApiGet = (pk) => http.get('/baogong/list/'+pk+'/')

// 生产日报表单个删除
export const basicBgListPkApiDelete = (pk) => http.delete('/baogong/list/'+pk+'/')

// 查询货品
export const basicPrdtApiGet = (params) => http.get('/basic/prdt/',  {params:params})